<%-- <%@ taglib uri="/WEB-INF/tlds/pd4ml.tld" prefix="pd4ml" %>
 --%><%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> 
<%
	request.setCharacterEncoding("UTF-8");
	
    String clickUrl="";
    if(request.getParameter("clickUrl")!=null)
	    clickUrl="/"+request.getParameter("clickUrl");
	    
	String pageOrientation ="Portrait";
	
	if(request.getParameter("pageOrientation")!=null){
		pageOrientation=request.getParameter("pageOrientation");
	}
	
	String screenWidth1 ="1000";
	
	if(request.getParameter("screenWidth1")!=null){
		screenWidth1=request.getParameter("screenWidth1");
	}
	String pageFormat ="A4";
	
	if(request.getParameter("pageFormat")!=null){
		pageFormat=request.getParameter("pageFormat");
	}
%>	
<pd4ml:transform
	screenWidth="<%=screenWidth1 %>"
	pageFormat="<%=pageFormat %>"
	pageOrientation="<%=pageOrientation %>"
	pageInsets="1,1,1,1,points"
	enableImageSplit="false" 
	fileName="c:\report.pdf">
	

  <jsp:include page="<%=clickUrl %>"  />

</pd4ml:transform>
